
<div class="left mainonly">


<div class="renqi hide">
    <h2>最近浏览 <a class="label" onclick="$('.labelshow .none_more').toggle()">More</a></h2>
    <div class="byboxt labelshow " >
      <ul>
        {{foreach from=$recentGoods item=list key=key}}
        <li {{if $key>3}}class="none_more"{{/if}}>
          <dl>
            <dt class="padding_ri"><img src="{{$list.goods_thumb}}" style="width:30px; height:30px;" /></dt>
            <dd><a href="{{$list.url}}" title="{{$list.goods_desc}}"> {{$list.goods_name}}</a></dd>
            <dd class="backfe"> <small>关键词  : {{$list.keywords}}</small></dd>
          </dl>
        </li>
        {{/foreach}}
      </ul>
    </div>
  </div>


<div class="renqi">
    <h2>最新交易</h2>
     <div class="byboxt">
    <ul class=" rec_ul" {{if count($recent_order)>5}}id="breakNewsList"{{/if}}>
        {{foreach from=$recent_order item=l key=key}}
       
        <li > 
        <div title="{{date('m月d日H:i',$l.add_time)}} {{$l.type}}  {{$l.info.nick_name}}  购买了 {{$l.goods_name}}">{{date('m月d日H:i',$l.add_time)}} {{$l.info.nick_name}}</div>
        <div class="dec">购买了 <a href="goods.php?id={{$l.goods_id}}">{{$l.goods_name}}</a> </div>
        </li>
      
        {{/foreach}}
      </ul>
       </div>
  </div>

  
  <div class="renqi">
    <h2>本周推荐</h2>
    <div class="byboxt">
      <ul>
        {{foreach from=$week_goods item=list key=key}}
        <li>
          <dl>
            <dt class="padding_ri"><img src="{{$list.goods_thumb}}" style="width:30px; height:30px;" /></dt>
            <dd><a href="{{$list.url}}" title="{{$list.goods_desc}}"> {{$list.goods_name}}</a></dd>
            <dd class="backfe"><a class="colored" href="category.php?cat_id={{$list.cat_id}}">{{$list.type_name}}</a> <small>销售量  : {{$list.goods_number}}</small></dd>
          </dl>
        </li>
        {{/foreach}}
      </ul>
    </div>
  </div>

<div class="renqi hide">
    <h2>加V小店</h2>
    <div class="byboxt">
      <ul id="jiav" style="height:220px; overflow:hidden">
        {{foreach from=$new_cat item=list key=key}}
        <li >
        	
          <dl>
            <dt class="padding_ri"><a href="{{$list.url}}"><img src="{{$list.thumb}}" /></a></dt>
            <dd><a href="{{$list.url}}">{{$list.cat_name}}</a></dd>
            <dd class="backfe"><a class="colored" href="{{$list.url}}">{{$list.mag.type}}</a></dd>
          	
          </dl>
        
       		
        </li>
        {{/foreach}}
      </ul>
    </div>
  </div>
  
  <div class="renqi">
    <h2>当前热卖</h2>
    <div class="byboxt">
      <ul>
        {{foreach from=$hot_goods item=list key=key}}
        {{if $key<=4}}
        <li>
          <dl>
            <dt class="padding_ri"><img src="{{$list.goods_thumb}}" style="width:30px; height:30px;" /></dt>
            <dd><a href="{{$list.url}}" title="{{$list.goods_desc}}"> {{$list.goods_name}}</a></dd>
            <dd class="backfe" style="width:auto"><a class="colored" href="category.php?cat_id={{$list.cat_id}}">{{$list.type_name}}</a> <small>近期销售量  : {{$list.order_times}}</small></dd>
          </dl>
        </li>
        {{/if}}
        {{/foreach}}
      </ul>
    </div>
  </div>
  <div class="renqi">
    <h2>最赚钱小店</h2>
    <div class="byboxt">
      <ul>
        {{foreach from=$order_cat item=list key=key}}
        <li>
          <dl>
            <dt class="padding_ri"><img src="{{$list.thumb}}" style="width:30px; height:30px;" /></dt>
            <dd class="backfe"> <a href="{{$list.url}}">{{$list.cat_name}}</a></dd>
            </dd>
            <dd><a class="colored"  href="{{$list.url}}" title="{{$list.cat_name}}"> {{$list.mag.type}} </a> <small >总销售额:{{$list.order_amount}}</small> </dd>
          </dl>
        </li>
        {{/foreach}}
      </ul>
    </div>
  </div>
  <div class="renqi">
    <h2>最佳店小二</h2>
    <div class="bybox xiaoer">
      <ul>
        {{foreach from=$qd_user item=list key=key}}
        {{$info = $list.user.info}}
        <li class="backnone">
          <dl>
            <dd style="height:auto"><img class="padding_ri" src="{{$list.user.avater}}" style="width:30px; height:30px;" /><a title="姓名:{{$info.name}} 电话:{{$info.tel}} 微信:{{$info.weixin}}" class="pointer red"> {{$info.nick_name}}</a> <a class="fenmar" href="category.php?cat_id={{$list.user.cat_id}}">{{$list.user.type}}</a> <small>签到:{{round($list.qd_count)}}</small></dd>
          </dl>
        </li>
        {{/foreach}}
      </ul>
    </div>
  </div>
</div>

<script language="javascript" src="{{$s_path}}/js/scolltext.js"></script>
<script type="text/javascript">
var scroll2 = new ScrollText("breakNewsList","","",true,50,true);
var scroll3 = new ScrollText("jiav","","",true,50,true);
</script>
